import apiClient from '../axios'

export const listDocument = async (datasetId, params) => {
    const response = await apiClient.post(`/ragflow/api/v1/list/document/${datasetId}`, params)
    return response.data
}

